﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Randata.Helpers;

namespace Randata.DataResolvers.Implementation
{
    internal class DateTimeDataResolver : DataResolver<DateTime>
    {
        internal override DateTime Resolve()
        {
            return new DateTime(
                Rand.Instance.Next(1, 10000),
                Rand.Instance.Next(1, 13),
                Rand.Instance.Next(1, 29), 
                Rand.Instance.Next(0, 24), 
                Rand.Instance.Next(0, 60), 
                Rand.Instance.Next(0, 60));
        }
    }
}
